
int main()
{
    int n;
    cin >> n;
    long double A, B, C;
    for(int i = 1; i <= n; ++i){
        cin >> A >> B >> C;
        cout << "Case #" << i << ": ";
        if(A+B > C) cout << "true" << endl;
        else cout << "false" << endl;
    }
    
    return 0;
}
